<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .top{
           height: 50px;
            background-color:#4682B4	;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            color: white;
        }
        .left{
            width: 200px;
            height: 600px;
            background-color:#4682B4;
            float: left;
            color: white;
        }
        .left ul{
          list-style: none;
          text-align: center;
        }
        .left li{
           
            height: 60px;
            line-height: 60px;
        }
        .right{
            float: left;
            width: 70%;
        }
        .right input:nth-child(1){
            border-radius: 50px;
            width: 300px;
            height: 30px;
            margin: 30px 10px 10px 20px;
            border: 2px #ccc solid;
        }
        .right input:nth-child(2){
          background-color: green;
          border: 0;
          font-size: 17px;
          width: 100px;
            height: 35px;
            color: white;
            border-radius: 10px;
            
        }
        .right .tianjia{
          background-color: green;
          border: 0;
          width: 100px;
            height: 35px;
            color: white;
            border-radius: 10px;
            text-align: center;
            line-height: 35px;
            margin-left: 20px;
            margin-top: 20px;
        }
        table{
            width: 100%;
            margin: 20px 20px;
            text-align: center;
            line-height: 40px;
            border-collapse: collapse;
        }
        table tr td{
            border-bottom: 2px solid #ccc;
          
        }
       
        table tr td:nth-child(1){
          text-align:left;
        }
      
        .before,.next{
            width: 75px;
           border: 2px solid #ccc;
            height: 100%;
        }
        .bottom{
            justify-content: center;
            height: 30px;
            display: flex;
            text-align: center;
            line-height: 30px;
        }
    </style>
    
</head>
<body>
    <div class="box">
        <div class="top">
            <p>高校科研信息管理平台</p>
            <p>兰ker</p>
        </div>
        <div class="left">
            <ul>
                <li>首页</li>
                <li>专题</li>
                <li>用户</li>
                <li>设置</li>
                <li>日志</li>
            </ul>
        </div>
        <div class="right">
            <input type="text" placeholder="&emsp;搜索用户" class="text">
            <input type="button" value="搜索" class="button">
            <div class="tianjia">+添加用户</div>
            <table>
              <thead>
                <tr>
                    <td>邮箱(账户)</td>
                    <td>姓名</td>
                    <td>电话</td>
                    <td>所属组</td>
                    <td>管理员</td>
                    <td>状态</td>
                    <td>操作</td>
                </tr>
              </thead>
              <tbody>
               
              </tbody>
            </table>
            <div class="bottom">
                <div class="before">上一页</div>
              <div class="next">下一页</div>
            </div>
        </div>
    </div>
</body>
</html>
<script src="./js/axios.min.js"></script>
<script src="./js/index.js"></script>
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/Mock.js/1.0.0/mock.js"></script>
<script src="./js/promise请求.js"></script>
<script src="./js/表格mock.js"></script> -->
<script>
    //  function render( data ){
    //         var str = data.map((item,index)=>{
    //             return `<tr>
    //                         <td>${item.email}</td>
    //                         <td>${item.name}</td>
    //                         <td>${item.phone}</td>
    //                         <td>${item.ingroup}</td>
    //                         <td>${item.isadmin?'是':'否'}</td>
    //                         <td> <span class="statusok">${item.status?'正常':'异常'}</span> </td>
    //                         <td> <span>编辑</span> <span>删除</span> </td>
    //                     </tr>`
    //         }).join('')
    //         document.querySelector('tbody').innerHTML = str;
    //     }
    //     var next=document.querySelector('.next')
        
    //     next.onclick=()=>{
    //         location.reload();
    //     }
    //     render( data.list )
</script>